package com.ruoyu.cloud.ai.mcp.service;

import com.ruoyu.cloud.ai.mcp.entity.Book;

import java.util.List;

public interface BookService {

    List<Book> findBooksByTitle(String title);

    List<Book> findBooksByAuthor(String author);

    // 根据分类查询
    List<Book> findBooksByCategory(String category);

    List<Book> findBooks();
}
